package com.smartlazy.sequence.server.config;

import com.smartlazy.sequence.common.biz.constant.CommonConst;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author howe
 */
@Data
@ConfigurationProperties(prefix = SequenceProperties.OSS_PREFIX)
public class SequenceProperties {
    public static final String OSS_PREFIX = "seq";
    private Integer step = CommonConst.SEQUENCE_STEP;
    private int retryTimes = CommonConst.SEQUENCE_RETRY_TIMES;
}
